package aconcagua.measure

abstract class MeasureBehavior extends ArithmeticObject {

	// accessing
	abstract measures();
	
	// comparing
	abstract boolean equalsMeasure(aMeasure);

	abstract boolean equalsMeasureBag(aMeasureBag);
	
	// converting
	public convertAmountToBaseUnit() {
		return this.unit().convertAmountToBaseUnit(this.amount());
	}
	
	// testing
	abstract boolean isMeasureBag();
}
